#ifndef IMAGELOADTHREAD_H
#define IMAGELOADTHREAD_H

#include <QThread>
#include <QStringList>
class ImageInstance;

class ImageLoadThread : public QThread
{
    Q_OBJECT
public:
    explicit ImageLoadThread(const QStringList &paths, QObject *parent = 0):
        m_paths(paths),QThread(parent){}

    void run();

signals:
    void imageReady(ImageInstance *image);

private:
    QStringList m_paths;
};

#endif // IMAGELOADTHREAD_H
